﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Dom2.index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width:450px;margin:auto;background-color:#0ff;">
        
        <div style="text-align:center;">上传作业</div>
        <table>
            <tr>
                <td>课程：</td>
                <td><asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem>ASP.NET课程</asp:ListItem>
                    <asp:ListItem>HTML5课程</asp:ListItem>
                    <asp:ListItem>C#经典课程</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>作业题目：</td>
                <td><asp:DropDownList ID="DropDownList2" runat="server">
                    <asp:ListItem>ASP.NET第一次作业</asp:ListItem>
                    <asp:ListItem>HTML5第一次作业</asp:ListItem>
                    <asp:ListItem>C#经典课程第一次作业</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>姓名：</td>
                <td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>学号：</td>
                <td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>作业：</td>
                <td><asp:FileUpload ID="FileUpload1" runat="server"></asp:FileUpload><asp:Button ID="Button2" runat="server" Text="上传" OnClick="Button2_Click"></asp:Button></td>
            </tr>
            <tr style="text-align:center;">
                <td colspan="2"><asp:Button ID="Button1" runat="server" Text="提交作业" OnClick="Button1_Click"></asp:Button></td>
            </tr>
        </table>
    </div>
</asp:Content>
